package com.zlh123.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zlh
 * @since 2025-01-13
 */

@Data
public class Book implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "bid", type = IdType.AUTO)
    private Integer bid;

    private String bname;

    private String writer;

    private String btype;

    @TableLogic
    private Integer deleted;//逻辑删除字段
}
